<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: KeyMap Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_key_map.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">KeyMap Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_key_map_8h_source.html">KeyMap.h</a>&gt;</code></p>

<p><a href="class_key_map-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a144f311454f7c66813c340c0344fa3b6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a144f311454f7c66813c340c0344fa3b6">KEY_CATEGORY</a> { <a class="el" href="class_key_map.html#a144f311454f7c66813c340c0344fa3b6ac1afb749a7bccc0bf3a0b7a9da98fe9a">KEY_FLIGHT</a>, 
<a class="el" href="class_key_map.html#a144f311454f7c66813c340c0344fa3b6ab75e453492c652cb4a947c410f465bd6">KEY_WEAPONS</a>, 
<a class="el" href="class_key_map.html#a144f311454f7c66813c340c0344fa3b6a667357b88cdd4119c6b948f414466a02">KEY_VIEW</a>, 
<a class="el" href="class_key_map.html#a144f311454f7c66813c340c0344fa3b6a91ec0d4ed80c1364d708b5503800e4ec">KEY_MISC</a>
 }</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aece933ff97b9583f2e431a1fb3a699d7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#aece933ff97b9583f2e431a1fb3a699d7">KeyMap</a> ()</td></tr>
<tr class="memitem:a71fd141f01675134155dff97c3737919"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a71fd141f01675134155dff97c3737919">~KeyMap</a> ()</td></tr>
<tr class="memitem:acf8e48d5378ccac08617694a8b3db765"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#acf8e48d5378ccac08617694a8b3db765">DefaultKeyMap</a> (int max_keys=256)</td></tr>
<tr class="memitem:ad538497ef60e1b55eaccb692ed2144a1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#ad538497ef60e1b55eaccb692ed2144a1">LoadKeyMap</a> (const char *filename, int max_keys=256)</td></tr>
<tr class="memitem:a5c1d6cdc55858001bfd2ad5e7672f278"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a5c1d6cdc55858001bfd2ad5e7672f278">SaveKeyMap</a> (const char *filename, int max_keys=256)</td></tr>
<tr class="memitem:a2571fcaba722365376fe3b3cb77de9c2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a2571fcaba722365376fe3b3cb77de9c2">GetCategory</a> (int i)</td></tr>
<tr class="memitem:afa166d2aa70fa23eb79bbf041632ee35"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#afa166d2aa70fa23eb79bbf041632ee35">DescribeAction</a> (int i)</td></tr>
<tr class="memitem:aa23acdf63c719e21dfbf6d9ab0274e33"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#aa23acdf63c719e21dfbf6d9ab0274e33">DescribeKey</a> (int i)</td></tr>
<tr class="memitem:a5523a58555e9d16658a3d33400468613"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a5523a58555e9d16658a3d33400468613">FindMapIndex</a> (int act)</td></tr>
<tr class="memitem:a95040cacf32ae9215fd7e4417a16577b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a95040cacf32ae9215fd7e4417a16577b">GetNumKeys</a> ()</td></tr>
<tr class="memitem:aa6b7225fc952f36f63d777389c5a90e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#aa6b7225fc952f36f63d777389c5a90e5">GetMapping</a> ()</td></tr>
<tr class="memitem:aa9f1c89c181fea8271d8ff362a191125"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#aa9f1c89c181fea8271d8ff362a191125">GetKeyMap</a> (int i)</td></tr>
<tr class="memitem:a4526ee386e1bbbf8741a52d4b20d084f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a4526ee386e1bbbf8741a52d4b20d084f">GetDefault</a> (int i)</td></tr>
<tr class="memitem:a99110da37b2ce19a6112745a871ad81a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a99110da37b2ce19a6112745a871ad81a">Bind</a> (int a, int k, int s)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa8876f5c25009483d08411355a114b88"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#aa8876f5c25009483d08411355a114b88">DescribeKey</a> (int vk, int shift, int joy)</td></tr>
<tr class="memitem:a458cc4c9e349f0f9bcac77eff3c633ab"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a458cc4c9e349f0f9bcac77eff3c633ab">GetMappableVKey</a> (int n)</td></tr>
<tr class="memitem:a737740c5c83dd629d9c64ce8ec9e51da"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a737740c5c83dd629d9c64ce8ec9e51da">GetKeyAction</a> (const char *act_str)</td></tr>
<tr class="memitem:a5ad2598180397bdb9abf24578be32dd0"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a5ad2598180397bdb9abf24578be32dd0">GetKeyActionIndex</a> (int act)</td></tr>
<tr class="memitem:addd6199b3e55036ad36b7063b7aae85e"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#addd6199b3e55036ad36b7063b7aae85e">GetKeyKey</a> (const char *key_str)</td></tr>
<tr class="memitem:aa3c7b5e0d5944385a5bdd2a48be48b34"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#aa3c7b5e0d5944385a5bdd2a48be48b34">GetKeyKeyIndex</a> (int key)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ad2de8da51ac8d0b8f24242c511e78ed7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#ad2de8da51ac8d0b8f24242c511e78ed7">BuildDefaultKeyMap</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a4e95b5173cdf4da2d70e821a3c82bf31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a4e95b5173cdf4da2d70e821a3c82bf31">map</a> [256]</td></tr>
<tr class="memitem:a57b2d5859b47ba5571b48d891bcf567f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a57b2d5859b47ba5571b48d891bcf567f">defmap</a> [256]</td></tr>
<tr class="memitem:a97d29255868706edb2c6f6b32bf48008"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_key_map.html#a97d29255868706edb2c6f6b32bf48008">nkeys</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00024">24</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a144f311454f7c66813c340c0344fa3b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_key_map.html#a144f311454f7c66813c340c0344fa3b6">KeyMap::KEY_CATEGORY</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a144f311454f7c66813c340c0344fa3b6ac1afb749a7bccc0bf3a0b7a9da98fe9a"></a>KEY_FLIGHT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a144f311454f7c66813c340c0344fa3b6ab75e453492c652cb4a947c410f465bd6"></a>KEY_WEAPONS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a144f311454f7c66813c340c0344fa3b6a667357b88cdd4119c6b948f414466a02"></a>KEY_VIEW</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a144f311454f7c66813c340c0344fa3b6a91ec0d4ed80c1364d708b5503800e4ec"></a>KEY_MISC</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00034">34</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aece933ff97b9583f2e431a1fb3a699d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KeyMap::KeyMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00389">389</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a71fd141f01675134155dff97c3737919"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">KeyMap::~KeyMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00396">396</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a99110da37b2ce19a6112745a871ad81a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KeyMap::Bind </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00557">557</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad2de8da51ac8d0b8f24242c511e78ed7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::BuildDefaultKeyMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00402">402</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acf8e48d5378ccac08617694a8b3db765"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::DefaultKeyMap </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max_keys</em> = <code>256</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00547">547</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afa166d2aa70fa23eb79bbf041632ee35"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * KeyMap::DescribeAction </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00731">731</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa23acdf63c719e21dfbf6d9ab0274e33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * KeyMap::DescribeKey </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00752">752</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa8876f5c25009483d08411355a114b88"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * KeyMap::DescribeKey </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>vk</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>shift</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>joy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00761">761</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5523a58555e9d16658a3d33400468613"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::FindMapIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>act</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00720">720</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2571fcaba722365376fe3b3cb77de9c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetCategory </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00704">704</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4526ee386e1bbbf8741a52d4b20d084f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a>* KeyMap::GetDefault </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00047">47</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a737740c5c83dd629d9c64ce8ec9e51da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetKeyAction </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>act_str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00326">326</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5ad2598180397bdb9abf24578be32dd0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetKeyActionIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>act</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00341">341</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="addd6199b3e55036ad36b7063b7aae85e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetKeyKey </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key_str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00354">354</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa3c7b5e0d5944385a5bdd2a48be48b34"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetKeyKeyIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00375">375</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa9f1c89c181fea8271d8ff362a191125"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a>* KeyMap::GetKeyMap </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00046">46</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a458cc4c9e349f0f9bcac77eff3c633ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetMappableVKey </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00818">818</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa6b7225fc952f36f63d777389c5a90e5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a>* KeyMap::GetMapping </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00045">45</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a95040cacf32ae9215fd7e4417a16577b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::GetNumKeys </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00044">44</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad538497ef60e1b55eaccb692ed2144a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::LoadKeyMap </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max_keys</em> = <code>256</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00576">576</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5c1d6cdc55858001bfd2ad5e7672f278"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::SaveKeyMap </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max_keys</em> = <code>256</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8cpp_source.html#l00637">637</a> of file <a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a57b2d5859b47ba5571b48d891bcf567f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a> KeyMap::defmap[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00060">60</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4e95b5173cdf4da2d70e821a3c82bf31"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_key_map_entry.html">KeyMapEntry</a> KeyMap::map[256]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00059">59</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a97d29255868706edb2c6f6b32bf48008"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int KeyMap::nkeys</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_key_map_8h_source.html#l00061">61</a> of file <a class="el" href="_key_map_8h_source.html">KeyMap.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/Stars45/<a class="el" href="_key_map_8h_source.html">KeyMap.h</a></li>
<li>D:/SRC/StarshatterSVN/Stars45/<a class="el" href="_key_map_8cpp_source.html">KeyMap.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_key_map.html">KeyMap</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:55 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
